/* Root color variables */
:root {
  --bg: #000;
  --panel: rgba(10, 10, 10, 0.6);
  --glass: rgba(255, 255, 255, 0.03);
  --accent: #ffd94a;
  --accent-strong: #ffdf6e;
  --text: #ffffff;
  --muted: #b6b6b6;
  --border: rgba(255, 217, 74, 0.13);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(1200px 400px at 10% 10%, rgba(255, 217, 74, 0.05), transparent), var(--bg);
  font-family: "Poppins", sans-serif;
  color: var(--text);
}

/* General styles */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.mk-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HERO */
.mk-hero {
  text-align: center;
  padding: 60px 0 12px;
}

.mk-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 6px 25px rgba(255, 217, 74, 0.12);
  margin: 0;
}

.mk-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-strong);
  margin: 8px 0;
}

.mk-lead {
  max-width: 700px;
  margin: 14px auto 0;
  color: var(--muted);
}

/* PANEL WITH SUBTLE SHAKE */
.panel {
  margin: 40px auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  transition: all 0.3s ease;
}

/* SUBTLE SHAKE ANIMATION */
@keyframes subtle-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-2px);
  }

  50% {
    transform: translateX(2px);
  }

  75% {
    transform: translateX(-2px);
  }
}

.panel:hover {
  animation: subtle-shake 0.4s ease-in-out;
}

.panel[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.panel.show {
  opacity: 1;
  transform: translateY(0);
}

/* LEFT PANEL */
.panel-left .panel-heading {
  color: var(--accent);
  margin-top: 0;
}

.panel-text {
  color: var(--muted);
  line-height: 1.6;
}

.contact-meta {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* SOCIAL */
.social-compact {
  margin-top: 20px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  transition: all 0.35s ease;
  margin-right: 10px;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--accent);
  color: #000;
  transform: rotate(12deg) scale(1.08);
  box-shadow: 0 6px 25px rgba(255, 217, 74, 0.25);
}

/* RIGHT FORM */
.panel-right {
  display: flex;
  flex-direction: column;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-group {
  margin-bottom: 14px;
  position: relative;
}

.input-group label {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

/* INPUTS */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: all 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input-group textarea {
  line-height: 1.5;
  resize: vertical;
  min-height: 120px;
}

/* ERROR STYLES */
.input-error {
  display: none;
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}

.input-group.error .input-error {
  display: block;
}

.input-group.error input,
.input-group.error textarea {
  border-color: #ff6b6b;
  animation: shake 0.4s;
}

/* SHAKE ANIMATION */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-6px);
  }
}

/* BUTTONS */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  transition: all 0.3s ease;
  border: none;
  font-family: "Poppins", sans-serif;
}

/* SUBMIT BUTTON */
.btn.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #000;
  box-shadow: 0 8px 28px rgba(255, 217, 74, 0.15);
}

.btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 217, 74, 0.25);
}

.btn.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* BACK BUTTON */
.btn.ghost {
  background: rgba(255, 217, 74, 0.05);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.ghost:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 217, 74, 0.3);
}

/* SUCCESS POPUP */
.success-modal {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 300px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(10px);
  border: 2px solid var(--accent);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.success-modal h2 {
  margin: 0 0 10px 0;
  color: var(--accent);
  font-size: 22px;
}

.success-modal p {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.success-modal.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.modal-ok-btn {
  padding: 10px 24px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #000;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: "Poppins", sans-serif;
}

.modal-ok-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 217, 74, 0.4);
}

/* TOAST */
.toast {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
  font-size: 13px;
  display: none;
  text-align: center;
}

/* FOOTER */
.mk-footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 217, 74, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left h3 {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-size: 20px;

}

.footer-left .muted {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  font-size: 14px;
}

.footer-links a:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 217, 74, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 20px;
  }

  .mk-title {
    font-size: 36px;
  }

  .mk-subtitle {
    font-size: 18px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ================= HERO YELLOW BACKGROUND (REUSED) ================= */
.yellow-glow-bg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.07), transparent 60%);
}

/* ================= FLOATING YELLOW PARTICLES ================= */
.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 8px #FFD700;
  animation: moveSpark linear infinite;
  pointer-events: none;
}

@keyframes moveSpark {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(20px, -20px) scale(1.4);
    opacity: 0.6;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

